package com.it.Service;

import com.it.pojo.Flight;
import com.it.pojo.Order;
import com.it.pojo.PageBean;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderService {
    PageBean OList(String idNum, Integer page, Integer pageSize);

    void OAdd(List<Order> orders);

    void reduceTickets(Order order);

    void ORefund(String oNumber);

    void increaseTickets(String oNumber);

    List<String> getFNumByIdNum(String idNumber);

    List<String> getFNumByONum(String oNumber);

    void ORebook(String oNumber);

    void ODelete(String oNumber);

    List<Order> getOrderById(String oNumber);
}
